package com.example.yaja.yaja.dao;


import com.example.yaja.yaja.entity.Idea;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IdeaMapper {
    int deleteByPrimaryKey(Integer ideaid);

    int insert(Idea record);

    int insertSelective(Idea record);

    Idea selectByPrimaryKey(Integer ideaid);

    int updateByPrimaryKeySelective(Idea record);

    int updateByPrimaryKey(Idea record);

    List<Idea> selectAllIdea();

    int deleteIdea(Integer ideaId);
}